const express = require('express')

// 导入路由模块
const router = require('./03-路由模块')

const app = express()

// 挂载路由模块
app.use('/api', router)

app.listen(80, () => {
  console.log('express server running at http://127.0.0.1')
})